package com.cykj.v_m_sprintboot.service;

import com.cykj.v_m_sprintboot.bean.PageInf;
import com.cykj.v_m_sprintboot.bean.TbWarehouse;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.
        RowBounds;

import java.util.List;

public interface TbWarehouseService {
    boolean addWarehouse(TbWarehouse tbWarehouse);
    TbWarehouse judgeWarehouse(TbWarehouse tbWarehouse);
    List<TbWarehouse> getWarehouseList(PageInf pageInf, RowBounds rowBounds);
    int count(PageInf pageInf);
    boolean delWarehouse(int warehouseId,int warehouseStateId);
    boolean updateWarehouse(TbWarehouse tbWarehouse);
    TbWarehouse judgeWarehouseName(TbWarehouse tbWarehouse);
}
